{% extends '::backend-outside.html.twig' %}

{% block contenido %}
			<div class="col-md-10 col-md-offset-1">
				 <h3>Acceso Identificado</h3>
				<div class="jumbotron">
  			<form action="{{ path('usuario_login_check') }}" method="post">
						<div class="row form-group">
							<div class="col-md-6 col-md-offset-3">
        <input class="form-control" type="text"  placeholder="Usuario" id="username" name="_username"
               value="{{ last_username }}" />
							</div>
						</div> 
						<div class="row form-group">
							<div class="col-md-6 col-md-offset-3">
        <input class="form-control" type="password" placeholder="Contrasena" id="password" name="_password" />
							</div>
						</div>	 
						<div class="row">
								<div class="col-md-2 col-md-offset-3">
      			<input class="form-control" type="submit" name="login" value="Acceder" />
								</div>
						</div>
    {% if error %}
				<div class="row"><div class="col-md-5 col-md-offset-3"><small>{{ error.message }}</div><small></div>
    {% endif %}

  			</form>
				</div>
			</div>
{% endblock %}
